/**
 * @description: <br/>
 * @date: 2023/12/8 10:53<br/>
 * @author Jy-Jk<br/>
 */
open class Person(var name: String, var age: Int) {
    fun printPersonInfo() = println("$name's age is $age")

    operator fun plus(person: Person): Person {
        val newAge = age + person.age
        return Person(name, newAge)
    }
}